package com.monster.direct.provider.service.impl;

import com.monster.serviceinterface.model.entity.UserEntity;
import com.monster.serviceinterface.service.UserService;
import org.springframework.stereotype.Service;

/**
 * description:
 *
 * @author Yuanml on 2020/12/11 08:23
 */
@Service
public class UserServiceImpl implements UserService {
    @Override
    public UserEntity getById(int id) {
        UserEntity userEntity = new UserEntity();
        userEntity.setId(id);
        userEntity.setName("用户" + id);
        return userEntity;
    }
}
